<?
include_once 'include/processes.php';
$Login_Process = new Login_Process;
$Login_Process->check_status($_SERVER['SCRIPT_NAME']);
?>

<?

$conn = mysql_connect(DBHOST, DBUSER, DBPASS);
if (!$conn) {
	die("DB error - ".mysql_error());
}
if (!mysql_select_db(DBNAME, $conn)) {
	die("DB error - ".mysql_error());
}

$result = mysql_query("select * from dump_files where status != '0'");

while ($row = mysql_fetch_assoc($result)) {
	echo $row[id];
	echo $row[status];
	echo '<br>';

	mysql_query("update caddr set status='{$row[status]}' where id='{$row[caddr_id]}'");
}




?>

